Skip to content

i18n: locale aware content collections [beta] - #2643

Open
redsh4de wants to merge 1 commit into
monero-project:betafrom
redsh4de:feat/beta/localize-site-links
Open

i18n: locale aware content collections [beta]#2643
redsh4de wants to merge 1 commit into
monero-project:betafrom
redsh4de:feat/beta/localize-site-links

Conversation

@redsh4de

@redsh4de redsh4de commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

This does a few things:

  • adds a build-time middleware that rewrites internal links into the active locale.

    This means that if for example, a blog post contains a link like /downloads, it will be converted into /ar/downloads for Arabic, etc.

  • content collections (blog, legal) now can be localized as well. blog files moved to a en subdirectory to enable that, and links changed to relative links in the files. missing translations fallback to the default locale.

  • more aggressive caching for moneropedia, build should be faster now

  • updated prepare script to trim all the content collections with the limit-posts flag - blog, legal and moneropedia

@github-actions

Copy link
Copy Markdown
What Link
🕵️‍♂️ Review Files changed
🌐 Deploy Preview #2643

@plowsof plowsof added the beta label Apr 28, 2026
@redsh4de
redsh4de force-pushed the feat/beta/localize-site-links branch from d1419d0 to a6d7b10 Compare April 28, 2026 15:59
@redsh4de
redsh4de marked this pull request as ready for review April 28, 2026 16:01
@redsh4de
redsh4de force-pushed the feat/beta/localize-site-links branch from a6d7b10 to 4f4ad69 Compare April 28, 2026 16:44
Comment thread src/content/blog/en/2017-11-13-workgroups-and-resources.md
Comment thread src/content/blog/en/2019-02-12-2018-year-in-review.md Outdated
Comment thread src/content/blog/en/2021-04-02-norwegian-language.md
Comment thread src/content/blog/en/2026-03-04-monero-GUI-0.18.4.7-released.md
@redsh4de
redsh4de force-pushed the feat/beta/localize-site-links branch from c8ed67b to 3c07707 Compare May 27, 2026 15:11
@redsh4de
redsh4de force-pushed the feat/beta/localize-site-links branch from 3c07707 to e147976 Compare June 21, 2026 21:33
@redsh4de
redsh4de requested a review from plowsof June 21, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants